<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加管理员</title>
<style type="text/css">
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	margin:0px;
}
.list_content {
	background-color: #fff;
	color:#73938E;
	font-size:12px;
	line-height:15px;
	text-align:center;
}
.list_top_title {
	font-size:12px;
	background-color: #F3F8F7;
	color:#73938E;
	font-weight:bold;
	line-height:30px;
	text-align:center;
	white-space: normal;
	display: block;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

</style>
</head>
<script language="javascript">
function notEmpty(){
	if(addForm.userName.value==""){
	alert('您没有输入用户名！');
	addForm.userName.select();
	return false;
	}
	if(addForm.userPwd.value==""){
	alert('您没有输入密码！');
	addForm.userPwd.select();
	return false;
	}
	if(addForm.reuserPwd.value==""){
	alert('您没有输入重复密码！');
	addForm.reuserPwd.select();
	return false;
	}
	if(addForm.userPwd.value!=addForm.reuserPwd.value){
	alert('两次密码输入不一致！');
	addForm.reuserPwd.select();
	return false;
	}
	return true;
}
</script>
<body>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TR height=28 >
	<TD background=../images/title_bg1.jpg>-->当前位置: 添加管理员</TD>
</TR>
<tr>
	<td>&nbsp;</td>
</tr>
</table>
 <form action="AdminAddUser.php" name="addForm" method="post">
<table width="50%" border="1" align="center"  cellpadding="3" cellspacing="0" bordercolor="#F3F8F7">
 
  <tr>
    <td class="list_top_title" >用户名：</td>
    <td class="list_content" width="62%"><input type="text" name="userName" />
      <span class="fontRed">*</span></td>
  </tr>
  <tr>
    <td class="list_top_title">密&nbsp;&nbsp;码：</td>
    <td class="list_content"><input type="password" name="userPwd" />
      <span class="fontRed">*</span></td>
  </tr>
  <tr>
    <td class="list_top_title">重复密码：</td>
    <td class="list_content"><input type="password" name="reuserPwd" />
      <span class="fontRed">*</span></td>
  </tr>
  <tr>
  	<td colspan="2"  ><div align="center">
  	  <input type="submit" name="submit" value="提交"   onclick="return notEmpty()"/>
	  <input type="reset" name="cancel" value="取消"   />
	  </div></td>
    </tr>
  
</table>
</form> 
</div>
</body>
</html>
